package 软件开发原则.里氏替换原则.before;
//长方形类
public class Rectangle {//rectangle---矩形
    private double length;
    private double width;

    public double getLength() {
        return length;
    }

    public void setLength(double length) {
        this.length = length;
    }

    public double getWidth() {
        return width;
    }

    public void setWidth(double width) {
        this.width = width;
    }

}
